from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from routes.views import MainPage,  SignInPage,  SignOutPage,  SavePage,  MapPage,  DeletePage,  AboutPage, SettingsPage, HelpPage

application = webapp.WSGIApplication(
    [('/', MainPage),
    ('/signin/', SignInPage),
    ('/signout/', SignOutPage), 
    ('/save/',  SavePage), 
    ('/delete/',  DeletePage), 
    ('/about/',  AboutPage), 
    ('/settings/',  SettingsPage),
    (r'/map/(.*)/(.*)/',  MapPage),
    ('/help/',  HelpPage) 
    ],
    debug=True)

def main():
  run_wsgi_app(application)

if __name__ == "__main__":
  main()
